package com.mpsc.lcn.consumer.webService;

import com.mpsc.api.bean.RoleInfoEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(name = "multi-source")
public interface ShardingRoleInfoService {

    @GetMapping("/multi-source/roleInfo/saveRoleInfo")
    void saveRoleInfo(RoleInfoEntity role);
}
